﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChiTietGiuaHaiTram.aspx.cs" Inherits="ChiTietGiuaHaiTram" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
	<title>Web Service call from client-side JavaScript</title>
      <script type="text/javascript" src="http://www.vietbando.com/maps/API/VBDMapAPI.js?key=e7vjH+pgQHuSyV75dwG6hrMsaf8BwyZA"></script>
      <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"></script> 
       <script type="text/javascript" src="Scripts/JSSetControlValue.js"></script> 
      <script type="text/javascript" src="Scripts/JSVariable.js"></script>  
      <script type="text/javascript" src="Scripts/DataAccess.js"></script> 
      <script type="text/javascript" src="Scripts/MapControl.js"></script>
      <script type="text/javascript" src="Scripts/Return.js"></script> 
      <script type="text/javascript" src="Scripts/JSControl.js"></script>    
      <script language="javascript" type="text/javascript"> 
      
	</script>

    <style type="text/css">
        #txt_nodes
        {
            height: 161px;
        }
    </style>

</head>
<body onload="load_ChiTietGiuaHaiTram()" >
<form id="form1" runat="server">
		<asp:ScriptManager ID="ScriptManager1" runat="server">
			<Services>
				<asp:ServiceReference Path="~/BusService.asmx"/>
			</Services>
		</asp:ScriptManager>
	</form>
     <div style=" height:50px; background-color:Blue" ></div>
    <table width="100%">
        <tr>
            <td style="width:25%; vertical-align:top;">
                <fieldset style="height:720px">
                <legend>Cập Nhật Chi Tiết Đường Đi Giữa Hai Trạm</legend>
                    <table width="100%" >
                    <tr>
                        <td>Trạm bắt đầu</td>
                    </tr>
                    <tr>
                        <td>
                            <select id="combo_TramBatDau" onchange="_getStationInfo(this,false);_getStationToStation(); " style="width:90%">
                                
                            </select>
                         </td>
                    </tr>
                    <tr>
                        <td>Trạm đến</td>
                    </tr>
                    <tr>
                        <td>
                            <select id="combo_TramDen" onchange="_getStationToStationDetail()" style="width:90%">
                               
                            </select>
                        </td>
                        
                    </tr>
                    <tr>
                        <td><input id="IDTramDen" type="text" style="width:50%" /><input id="bt_Them" type="reset" onclick="_insertStationToStation()" value="Thêm" style="width:80px" /></td>
                    </tr>
                    <tr>
                        <td>Chi tiết đường đi</td>
                    </tr>
                    <tr>
                        <td><textarea id="txt_nodes" cols="30"></textarea></td>
                    </tr>                     
                    <tr>
                        <td><input id="Text5" type="button" value="Lưu" onclick="_updateStationToStation()" style="width:100px" /></td>
                    </tr>
                </table>
                </fieldset>
            </td>

            <td style="width:75%;">
                <fieldset>
                <legend>Bản Đồ</legend>
                    <div id="container" style="height:700px; width:100%; position:relative; margin:0px;"></div>
                </fieldset>
            </td>
        </tr>
    </table>
       
</body>
</html> 